package com.itheima.mall.service.omsService;

import com.itheima.mall.mapper.omsMapper.OmsOrderSettingMapper;
import com.itheima.pojo.oms.OmsOrderSetting;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class OmsOrderSettingApiImpl implements OmsOrderSettingApi{
    @Autowired
    private OmsOrderSettingMapper omsOrderSettingMapper;

    @Override
    public OmsOrderSetting findById(Integer id) {
        return omsOrderSettingMapper.selectById(id);
    }

    @Override
    public void updateById(OmsOrderSetting omsOrderSetting) {
        omsOrderSettingMapper.updateById(omsOrderSetting);
    }
}
